package com.cxx.food.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
public class SummaryDto {
    @Schema(description = "id")
    private Long id;

    @Schema(description = "美食名称")
    private String name;

    @Schema(description = "美食类型")
    private String category;

    @Schema(description = "推荐指数")
    private Integer recommendRate;

    @Schema(description = "是否共享")
    private Boolean isShare;

    @Schema(description = "美食记录")
    private List<RecordDto> recordList;

    @Schema(description = "点赞总数")
    private Integer likeCount;

    @Schema(description = "收藏总数")
    private Integer favouriteCount;

    @Schema(description = "评论总数")
    private Integer commentCount;

    @Schema(description = "用户id")
    private Long userId;

    @Schema(description = "姓名")
    private String username;

    @Schema(description = "头像")
    private String avatar;
}
